package com.beiding.jsonanalyzer.querylink;

import com.beiding.jsonanalyzer.flow.BranchNode;

public class Row<W> {
    private W valueNode;
    private final BranchNode<W> branchNode;

    public Row(W valueNode, BranchNode<W> branchNode) {
        this.valueNode = valueNode;
        this.branchNode = branchNode;
    }

    public W getValueNode() {
        return valueNode;
    }

    public BranchNode<W> getBranchNode() {
        return branchNode;
    }
}
